package DecoratorDesignMode;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 石方旭
 * Date: 2022-10-01
 * Time: 20:07
 */
public class BufferedReader_ extends Reader_{

    private Reader_ reader;

    public BufferedReader_(Reader_ reader) {
        this.reader = reader;
    }



    public void readerStrings(int num){
        for(int i =0;i<num;++i){
            reader.readString();
        }
    }

}
